// "Copyright [2021] <Copyright Shengkai Lin>"
#ifndef __AWGR_H
#define __AWGR_H

#include <omnetpp.h>

// The AWGR module's function is simple, just send the packet to the port associated with
// the destination carried in the packet.

namespace ai_sim {
class AWGR : public omnetpp::cSimpleModule
{
    protected:
        // The following redefined virtual function holds the algorithm.
        virtual void handleMessage(omnetpp::cMessage *msg) override;
};
}
#endif
